<template>
  <div id="app">
    <Layout />
  </div>
</template>

<script>
import Layout from '@/components/Layout/Layout.vue'

export default {
  name: 'AppRoot',
  components: {
    Layout
  }
}
</script>

<style lang="scss">
#app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background-color: #f5f7fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f5f7fa;
  color: #303133;
  line-height: 1.6;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

// 全局 Element UI 样式调整
.el-menu--horizontal > .el-menu-item {
  height: 64px;
  line-height: 64px;
}

.el-input__inner {
  border-radius: 4px;
}

.el-button {
  border-radius: 4px;
}
</style> 